package cn.edu.njuit.lesson9heros.pojo;

/**
 * 单个装备
 */
public class Equipment {
    /**
     * 装备id
     */
    Integer equipmentId;
    /**
     * 装备名称
     */
    String equipmentName;
    /**
     * 装备类型
     */
    String equipmentType;
    /**
     * 售出价格
     */
    Integer salePrice;
    /**
     * 购买价格
     */
    Integer buyPrice;
    /**
     * 描述
     */
    String description;

    public Integer getEquipmentId() {
        return equipmentId;
    }

    public void setEquipmentId(Integer equipmentId) {
        this.equipmentId = equipmentId;
    }

    public String getEquipmentName() {
        return equipmentName;
    }

    public void setEquipmentName(String equipmentName) {
        this.equipmentName = equipmentName;
    }

    public String getEquipmentType() {
        return equipmentType;
    }

    public void setEquipmentType(String equipmentType) {
        this.equipmentType = equipmentType;
    }

    public Integer getSalePrice() {
        return salePrice;
    }

    public void setSalePrice(Integer salePrice) {
        this.salePrice = salePrice;
    }

    public Integer getBuyPrice() {
        return buyPrice;
    }

    public void setBuyPrice(Integer buyPrice) {
        this.buyPrice = buyPrice;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    @Override
    public String toString() {
        return "{" +
                equipmentType +
                ":" + equipmentName +
                "}";
    }
}
